<div class="panel panel-default panel-intro">
    {:build_heading()}

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        {:build_toolbar('refresh')}
                        <!--<div class="dropdown btn-group {:$auth->check('wechat/wechatcard/multi')?'':'hide'}">
                            <a class="btn btn-success dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i> {:__('Add')}</a>
                            <ul class="dropdown-menu text-left" role="menu">
                                <li><a class="btn btn-link btn-dialog" href="{:url('add',['type'=>'CASH'])}" data-params="status=normal" title="{:__('CASH_COUPON')}"><i class="fa fa-rmb"></i> {:__('CASH_COUPON')}</a></li>
                                <li><a class="btn btn-link btn-dialog" href="{:url('add',['type'=>'DISCOUNT'])}" data-params="status=normal" title="{:__('DISCOUNT_COUPON')}"><i class="fa fa-level-down"></i> {:__('DISCOUNT_COUPON')}</a></li>
                                <li><a class="btn btn-link btn-dialog" href="{:url('add',['type'=>'GENERAL_COUPON'])}" data-params="status=normal" title="{:__('GENERAL_COUPON')}"><i class="fa fa-money"></i>{:__('GENERAL_COUPON')}</a></li>
                                <li><a class="btn btn-link btn-dialog" href="{:url('add',['type'=>'GIFT'])}" data-params="status=normal" title="{:__('GIFT_COUPON')}"><i class="fa fa-gift"></i>{:__('GIFT_COUPON')}</a></li>
                                <li><a class="btn btn-link btn-dialog" href="{:url('add',['type'=>'GROUPON'])}" data-params="status=normal" title="{:__('GROUPON_COUPON')}"><i class="fa fa-users"></i>{:__('GROUPON_COUPON')}</a></li>
                            </ul>
                        </div>-->
                        <a href="{:url('synch')}" class="btn btn-success btn-ajax" title="同步"><i class="fa fa-retweet"></i> 同步</a>
                        <a href="{:url('admin/wechat/cardpage')}" class="btn btn-info btn-addtabs" title="卡券货架"><i class="fa fa-list"></i> 卡券货架</a>
                        <div class="dropdown btn-group {:$auth->check('wechat/wechatcard/multi')?'':'hide'}">
                            <a class="btn btn-primary btn-more dropdown-toggle btn-disabled disabled" data-toggle="dropdown"><i class="fa fa-cog"></i> {:__('More')}</a>
                            <ul class="dropdown-menu text-left" role="menu">
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="visible=1"><i class="fa fa-eye"></i> {:__('Set to normal')}</a></li>
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="visible=0"><i class="fa fa-eye-slash"></i> {:__('Set to hidden')}</a></li>
                            </ul>
                        </div>
                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover" 
                           data-operate-edit="{:$auth->check('wechat/wechatcard/edit')}" 
                           data-operate-del="{:$auth->check('wechat/wechatcard/del')}" 
                           width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>
